package com.slkj.dto;

import java.util.Objects;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName UserRouteDTOchildren.java
 * @Description TODO
 * @createTime 2020年03月12日 19:07:00
 */
public class UserRouteDTOchildren {
    private String id;
    private String name;
    private String path;
    private String component;
    private Meta meta;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof UserRouteDTOchildren)) return false;
        UserRouteDTOchildren that = (UserRouteDTOchildren) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(name, that.name) &&
                Objects.equals(path, that.path) &&
                Objects.equals(component, that.component) &&
                Objects.equals(meta, that.meta);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, name, path, component, meta);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }
}
